package com.coderman.basketball.start;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 *
 */
@DubboComponentScan(basePackages = "com.coderman.basketball.app.clientimpl")
@EnableDubbo //开启Dubbo的注解支持
@SpringBootApplication(scanBasePackages = {"com.coderman.**"})
@MapperScan(basePackages = "com.coderman.basketball.infrast.dao.**")
public class App
{
    public static void main( String[] args )
    {
        SpringApplication.run(App.class);
    }
}
